<template>
  <div id="app">
    <keep-alive  exclude="Detail">
      <router-view></router-view>
    </keep-alive>
    <!-- 用keep-alive保持app的生命周期，数据被缓存减少ajax多次请求 -->
  </div>
</template>

<script>
export default {
  name: "App",
};
</script>

<style>
</style>
